<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>酒店推荐 - 苏州数字文旅</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#E63946',
                        secondary: '#457B9D',
                        accent: '#F1C40F',
                        dark: '#1D3557',
                        light: '#F1FAEE',
                    },
                    fontFamily: {
                        sans: ['PingFang SC', 'Helvetica Neue', 'Arial', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .card-shadow {
                box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            }
            .nav-item-active {
                color: #E63946;
                border-bottom: 3px solid #E63946;
            }
            .filter-active {
                background-color: #E63946;
                color: white;
            }
        }
    </style>
</head>
<body class="bg-gray-50 h-screen flex flex-col">
    <!-- 顶部导航 -->
    <header class="bg-white shadow-sm sticky top-0 z-10">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <a href="planner.html" class="text-gray-600 hover:text-primary transition-colors">
                <i class="fa fa-arrow-left text-xl"></i>
            </a>
            <h1 class="text-[clamp(1.2rem,5vw,1.5rem)] font-bold text-dark">苏州酒店推荐</h1>
            <button class="text-gray-600 hover:text-primary transition-colors">
                <i class="fa fa-sliders text-xl"></i>
            </button>
        </div>
    </header>

    <!-- 筛选栏 -->
    <div class="bg-white p-3 border-b border-gray-200 overflow-x-auto">
        <div class="flex space-x-2 min-w-max pb-1">
            <button class="px-3 py-1.5 bg-primary text-white text-sm rounded-full filter-active">全部酒店</button>
            <button class="px-3 py-1.5 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">价格低到高</button>
            <button class="px-3 py-1.5 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">评分优先</button>
            <button class="px-3 py-1.5 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">近园林景区</button>
            <button class="px-3 py-1.5 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">含早餐</button>
            <button class="px-3 py-1.5 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">免费取消</button>
        </div>
    </div>

    <!-- 主内容区 -->
    <main class="flex-1 overflow-y-auto">
        <!-- 酒店列表 -->
        <div class="p-4 space-y-4">
            <!-- 酒店1 -->
            <div class="bg-white rounded-xl overflow-hidden card-shadow">
                <div class="relative">
                    <img src="https://picsum.photos/id/1048/800/400" alt="苏州平江府酒店" class="w-full h-48 object-cover">
                    <div class="absolute top-3 right-3 bg-primary text-white text-xs font-bold px-2 py-1 rounded">
                        推荐
                    </div>
                </div>
                <div class="p-4">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-dark text-lg">苏州平江府酒店</h3>
                            <div class="flex items-center mt-1">
                                <div class="flex items-center">
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star-half-o text-accent text-xs"></i>
                                </div>
                                <span class="text-xs text-gray-500 ml-2">4.6 (1.2k评价)</span>
                            </div>
                            <p class="text-sm text-gray-500 mt-2">平江区临顿路188号 · 距拙政园步行10分钟</p>
                        </div>
                        <div class="text-right">
                            <div class="text-primary font-bold">¥580<span class="text-xs font-normal text-gray-500">/晚</span></div>
                            <div class="text-xs text-gray-500 line-through mt-1">¥680</div>
                        </div>
                    </div>

                    <div class="flex flex-wrap gap-2 mt-3">
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">近地铁</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">免费WiFi</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">含早餐</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">园林景观</span>
                    </div>

                    <div class="mt-4 pt-4 border-t border-gray-100 flex justify-between items-center">
                        <button class="text-secondary hover:text-secondary/80 text-sm transition-colors">
                            <i class="fa fa-map-marker mr-1"></i> 查看地图位置
                        </button>
                        <button class="bg-primary hover:bg-primary/90 text-white text-sm font-medium px-4 py-2 rounded-lg transition-colors">
                            查看详情并预订
                        </button>
                    </div>
                </div>
            </div>

            <!-- 酒店2 -->
            <div class="bg-white rounded-xl overflow-hidden card-shadow">
                <div class="relative">
                    <img src="https://picsum.photos/id/1059/800/400" alt="苏州金鸡湖大酒店" class="w-full h-48 object-cover">
                </div>
                <div class="p-4">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-dark text-lg">苏州金鸡湖大酒店</h3>
                            <div class="flex items-center mt-1">
                                <div class="flex items-center">
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                </div>
                                <span class="text-xs text-gray-500 ml-2">4.8 (2.5k评价)</span>
                            </div>
                            <p class="text-sm text-gray-500 mt-2">工业园区金鸡湖大道888号 · 距留园打车15分钟</p>
                        </div>
                        <div class="text-right">
                            <div class="text-primary font-bold">¥880<span class="text-xs font-normal text-gray-500">/晚</span></div>
                            <div class="text-xs text-gray-500 line-through mt-1">¥980</div>
                        </div>
                    </div>

                    <div class="flex flex-wrap gap-2 mt-3">
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">湖景房</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">游泳池</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">含早餐</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">免费停车</span>
                    </div>

                    <div class="mt-4 pt-4 border-t border-gray-100 flex justify-between items-center">
                        <button class="text-secondary hover:text-secondary/80 text-sm transition-colors">
                            <i class="fa fa-map-marker mr-1"></i> 查看地图位置
                        </button>
                        <button class="bg-primary hover:bg-primary/90 text-white text-sm font-medium px-4 py-2 rounded-lg transition-colors">
                            查看详情并预订
                        </button>
                    </div>
                </div>
            </div>

            <!-- 酒店3 -->
            <div class="bg-white rounded-xl overflow-hidden card-shadow">
                <div class="relative">
                    <img src="https://picsum.photos/id/1060/800/400" alt="苏州山塘街客栈" class="w-full h-48 object-cover">
                </div>
                <div class="p-4">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-dark text-lg">苏州山塘街客栈</h3>
                            <div class="flex items-center mt-1">
                                <div class="flex items-center">
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star-o text-accent text-xs"></i>
                                </div>
                                <span class="text-xs text-gray-500 ml-2">4.3 (856评价)</span>
                            </div>
                            <p class="text-sm text-gray-500 mt-2">姑苏区山塘街18号 · 距山塘街景区步行2分钟</p>
                        </div>
                        <div class="text-right">
                            <div class="text-primary font-bold">¥420<span class="text-xs font-normal text-gray-500">/晚</span></div>
                            <div class="text-xs text-gray-500 line-through mt-1">¥460</div>
                        </div>
                    </div>

                    <div class="flex flex-wrap gap-2 mt-3">
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">古镇风情</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">免费WiFi</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">特色早餐</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">近景点</span>
                    </div>

                    <div class="mt-4 pt-4 border-t border-gray-100 flex justify-between items-center">
                        <button class="text-secondary hover:text-secondary/80 text-sm transition-colors">
                            <i class="fa fa-map-marker mr-1"></i> 查看地图位置
                        </button>
                        <button class="bg-primary hover:bg-primary/90 text-white text-sm font-medium px-4 py-2 rounded-lg transition-colors">
                            查看详情并预订
                        </button>
                    </div>
                </div>
            </div>

            <!-- 酒店4 -->
            <div class="bg-white rounded-xl overflow-hidden card-shadow">
                <div class="relative">
                    <img src="https://picsum.photos/id/1061/800/400" alt="苏州观前街亚朵酒店" class="w-full h-48 object-cover">
                </div>
                <div class="p-4">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-dark text-lg">苏州观前街亚朵酒店</h3>
                            <div class="flex items-center mt-1">
                                <div class="flex items-center">
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star text-accent text-xs"></i>
                                    <i class="fa fa-star-half-o text-accent text-xs"></i>
                                </div>
                                <span class="text-xs text-gray-500 ml-2">4.7 (1.5k评价)</span>
                            </div>
                            <p class="text-sm text-gray-500 mt-2">姑苏区观前街128号 · 距网师园打车8分钟</p>
                        </div>
                        <div class="text-right">
                            <div class="text-primary font-bold">¥520<span class="text-xs font-normal text-gray-500">/晚</span></div>
                            <div class="text-xs text-gray-500 line-through mt-1">¥560</div>
                        </div>
                    </div>

                    <div class="flex flex-wrap gap-2 mt-3">
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">市中心</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">免费WiFi</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">含早餐</span>
                        <span class="inline-block bg-gray-100 text-gray-600 text-xs px-2 py-0.5 rounded">健身房</span>
                    </div>

                    <div class="mt-4 pt-4 border-t border-gray-100 flex justify-between items-center">
                        <button class="text-secondary hover:text-secondary/80 text-sm transition-colors">
                            <i class="fa fa-map-marker mr-1"></i> 查看地图位置
                        </button>
                        <button class="bg-primary hover:bg-primary/90 text-white text-sm font-medium px-4 py-2 rounded-lg transition-colors">
                            查看详情并预订
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- 底部导航 -->
    <footer class="bg-white border-t border-gray-200 py-2 mt-auto">
        <div class="flex justify-around">
            <a href="home.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-home text-lg"></i>
                <span class="text-xs mt-1">首页</span>
            </a>
            <a href="planner.html" class="flex flex-col items-center py-1 nav-item-active">
                <i class="fa fa-map-o text-lg"></i>
                <span class="text-xs mt-1">规划</span>
            </a>
            <a href="checkin.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-camera text-lg"></i>
                <span class="text-xs mt-1">打卡</span>
            </a>
            <a href="profile.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-user-o text-lg"></i>
                <span class="text-xs mt-1">我的</span>
            </a>
        </div>
    </footer>
</body>
</html>